package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.Alias;

import javax.persistence.*;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "cn_uac_emp")
@Alias(value = "uacEmp")
public class UacEmp extends BaseEntity {

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Long userId;

    /**
     * 部门id
     */
    @Column(name = "dept_id")
    private Long deptId;

    /**
     * 序号 - 预留
     */
    private Integer number;

    /**
     * 职位
     */
    private String position;

    /**
     * 入职日期
     */
    @Column(name = "emp_date")
    private String empDate;

    /**
     * 家庭住址
     */
    @Column(name = "famliy_addr")
    private String famliyAddr;

    /**
     * 状态
     */
    private String status;

    /**
     * 描述
     */
    private String remark;

    /*
     * 人员类型(0 正式编制 1 非正式编制)',
     * */
    @Column(name = "personnel_type")
    private Integer personnelType;
}